package pro.lingwu.station.service;

import pro.lingwu.station.dto.PagesResult;
import pro.lingwu.station.dto.db.Driver;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author @lingwu
 * @date created in 11/19/2021
 */
public interface DriverService {

    void addDriver(Driver driver);

    Driver signIn(String account, String password, HttpServletRequest request);

    void updateDriver(Driver driver);

    PagesResult<Driver> getDrivers(int start, int size);

    void rmDriver(String account);
    
}
